package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:05 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUITreeNodeBuilderDAO
    extends IDataAccessInterface<ProductUITreeNodeBuilder, ProductUITreeNodeBuilderDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_TREE_NODE_BUILDER";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_TREE_NODE_BUILDER.ID";

  /** Mapped Field NODE_ID */
  static final String NodeId = "PRODUCT_UI_TREE_NODE_BUILDER.NODE_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_TREE_NODE_BUILDER.CODE";

  /** Mapped Field NODE_BUILDER */
  static final String NodeBuilder = "PRODUCT_UI_TREE_NODE_BUILDER.NODE_BUILDER";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_TREE_NODE_BUILDER.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_TREE_NODE_BUILDER.REMARKS";

  /** Mapped Field SORT_INDEX */
  static final String SortIndex = "PRODUCT_UI_TREE_NODE_BUILDER.SORT_INDEX";

  public static interface DataProperty {

    /** Attribute sortIndex */
    static final String SortIndex = "sortIndex";

    /** Attribute id */
    static final String Id = "id";

    /** Attribute nodeId */
    static final String NodeId = "nodeId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute nodeBuilder */
    static final String NodeBuilder = "nodeBuilder";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUITreeNodeBuilder findById(final long id) throws Exception;
}
